package org.tp8.sampleapp.dms.model;

import java.io.Serializable;

import org.bson.types.ObjectId;

/**
 * The Interface BaseModel.
 * 
 */
public interface BaseDocModel extends Serializable {

	/**
	 * Gets the id.
	 * 
	 * @return the id
	 */
	public ObjectId getId();

	/**
	 * Sets the id.
	 * 
	 * @param id
	 *            the new id
	 */
	public void setId(ObjectId id);

	/**
	 * Gets the attachment.
	 * 
	 * @return the attachment
	 */
	public Attachment getAttachment();

	/**
	 * Sets the attachment.
	 * 
	 * @param attachment
	 *            the new attachment
	 */
	public void setAttachment(Attachment attachment);

	/**
	 * Gets the attachment id.
	 * 
	 * @return the attachment id
	 */
	public ObjectId getAttachmentId();

	/**
	 * Sets the attachment id.
	 * 
	 * @param attachmentId
	 *            the new attachment id
	 */
	public void setAttachmentId(ObjectId attachmentId);

	/**
	 * Gets the title.
	 * 
	 * @return the title
	 */
	public String getTitle();

	/**
	 * Sets the title.
	 * 
	 * @param attachment
	 *            the new title
	 */
	public void setTitle(String attachment);

}
